package com.license.logic.mappers;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.license.logic.pojo.User;

public interface UserMapper {
	
	public void insertUser(@Param("user") User user);
	
	public User login(@Param("userName") String userName,
					  @Param("password") String password);
	
	public List<User> getUsers();
	
	public void deleteUser(@Param("user") User user);
	
	public void editUser(@Param("user") User user);
	
	public User selectUser(@Param("userName") String userName);
	

}
